package studySpring;

import studySpring.spring.ZhiGanApplicationContext;
import studySpring.zhiGan.service.UserService;

public class Test {

    public static void main(String[] args) {

        ZhiGanApplicationContext zhiganApplicationContext = new ZhiGanApplicationContext(AppConfig.class);
        UserService userService = (UserService) zhiganApplicationContext.getBean("userService");
        userService.test();

    }
}
